import { createRouter,createWebHistory} from 'vue-router'
const router = createRouter({
    history:createWebHistory(),
    linkActiveClass:'mui-active',
    routes:[
        {path:'/',redirect:'/home'},
        {path:'/home',component:()=>import('./pages/Home.vue')},
        {path:'/shopcart',component:()=>import('./pages/Shopcart.vue')},
        {path:'/test1',component:()=>import('./pages/Test1.vue')},
        {path:'/vantCard',component:()=>import('./pages/VanCard.vue')},
        {path:'/goodsInfo/:id',component:()=>import('./pages/GoodsInfo.vue')
        }
    ]
})
export  default  router;